<script lang="ts" setup>
   defineProps({
      loading: {
          type: Boolean,
          default: false
      }
  })
</script>

<template>
  <div class="page-container">
    <slot />
    <v-loading v-if="loading" />
  </div>
</template>

<style scoped lang="scss">
  .page-container{
    @include abs-group();
    overflow-x:hidden;
    overflow-y: auto;
  }
</style>
